package com.my_spring.my_spring.service;

import com.my_spring.my_spring.pojo.User;
import com.my_spring.my_spring.pojo.dto.UserDTO;
import org.springframework.stereotype.Service;

public interface IUserService {
    User add(UserDTO user);

    User getUser(Integer userId);

    User edit(UserDTO user);

    void delete(Integer id);
}
